package cc.wanforme.st.server.authen.dto;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import cc.wanforme.st.server.base.entity.RolePermission;
import cc.wanforme.st.server.base.entity.Admin;
import cc.wanforme.st.server.base.entity.AdminRole;

/**
 * @author wanne
 * 2020年10月23日
 */
public class AdminRoleAuth {

	private Admin admin;
	private Map<AdminRole, List<RolePermission>> roleAuth = new HashMap<>(10);
	
	public Admin getAdmin() {
		return admin;
	}
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}
	public Map<AdminRole, List<RolePermission>> getRoleAuth() {
		return roleAuth;
	}
	
}
